package app;

public class SumArguments {

    /**
     * @param args
     */
    public static void main(String[] args) {
	

        int sum = 0;
	for (int i = 0; i < args.length; i++) {
	    
	    try{
	    sum+= Integer.valueOf(args[i]);
	    } catch (NumberFormatException ex){
		System.out.println("ERROR!");
		
		return;
	    }
	    
	}
	
	System.out.println(sum);
	
	

    }

}
